package utils
{
	public class UtilsIsometric
	{
		public static function xToIsoX(x:Number, y:Number):Number
		{
			return (x - y);
		}
		public static function yToIsoY(x:Number, y:Number):Number
		{
			return (x + y) / 2;
		}
		public static function isoXtoX(isoX:Number, isoY:Number):Number
		{
			return(2 * isoY + isoX) / 2;
		}
		public static function isoYtoY(isoX:Number, isoY:Number):Number
		{
			return (2 * isoY - isoX) / 2;
		}
	}
}
